#include "matrix.h"             // inkludera din headerfil här
#include <assert.h>             // assert(b) ger felmeddelande om b falsk
//#include <vector>
//#include "vector.h"
#include <sstream>
#include <iostream>

int main()
{
	std::stringstream intest;
	
	Matrix a(1,4);
	Matrix b(4,2);
	
	intest.str("[ 4 2 0 3]");
	intest >> a;
	
	intest.str("[ 3 7 ; 0 0 ; 1 2 ; 0 8 ]"); 
	intest >> b;
	
	Matrix q = b.transpose();
	
	std::cout << q << std::endl;
	
	Matrix corr_ans(1,2);
	intest.str("[12 52]");
	intest >> corr_ans;
	


	//TODO
	return a*b == corr_ans;
}
